<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <Header />
      </el-header>
      <el-main style="width:80%;margin:auto;">
        <router-view></router-view>
      </el-main>
    </el-container>
    
  </div>
</template>
<script>
import Header from '@components/Header.vue';
import Index from '@views/index/Index.vue';
import Banner from '@views/index/Banner.vue';

export default {
  components: {
    Index,
    Header,
  },
  data() {
    
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
      console.log("路由=" + JSON.stringify(this.$route.path));
    },
    activeIndex() {
      ref('1')
    },
  }

}
</script>